Performs a subsequent ordering of the elements in a collection in ascending order according to a key.
Namespace:
C1.LiveLinqAssembly: C1.LiveLinq (in C1.LiveLinq.dll)
Syntax
C# |
---|
public Ordering<T> ThenBy<TKey>( Expression<Func<T, TKey>> keySelector ) |
Visual Basic |
---|
Public Function ThenBy(Of TKey) ( _ keySelector As Expression(Of Func(Of T, TKey)) _ ) As Ordering(Of T) |
Parameters
- keySelector
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, TKey>)>)>>)>)>
A function to extract a key from each element.
Type Parameters
- TKey
- The type of the key returned by keySelector.